#ifndef PROTOCOL_BHT_H
#define PROTOCOL_BHT_H

#include "config.h"

#define MAX_BHT_BUFFER_SIZE		200

extern uchar _gRxBHTBuffer[];


void bht_lock_send_x18(void);
_Bool Is_ResStateBHT_IDIE(void);
void ReceiveBHTTimerOut(void);
int Protocol_Receive_BHT(void);
void Init_Protocol_BHT(void);
void BHT_LOCK_DealProtocol(USART_FUNCTION uf,uchar *DaPtr,uint16 len);
int getcalcCrc16(uint8_t *data, uint16_t data_length);
#endif
